
<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>system.BitArray</title>
<link rel="stylesheet" type="text/css" href="candydoc/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]-->
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("system.BitArray");</script>
	<table class="content">
		<tr><td id="docbody"><h1>system.BitArray</h1><!-- Generated by Ddoc from F:\MyWork\phoenix\source\system\BitArray.d -->
Bit-level manipulation facilities.
<br><br>
<b>Authors:</b><br>
, 

<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">struct 
<span class="currsymbol">BitArray</span>
<script>explorer.outline.addDecl('BitArray');</script>

;
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>An array of bits.
 
<br><br>


<script>explorer.outline.incSymbolLevel();</script>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">const bool 
<span class="currsymbol">opIndex</span>
<script>explorer.outline.addDecl('opIndex');</script>

(size_t <span class="funcparam">i</span>);
<br>bool 
<span class="currsymbol">opIndexAssign</span>
<script>explorer.outline.addDecl('opIndexAssign');</script>

(bool <span class="funcparam">b</span>, size_t <span class="funcparam">i</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for [<i>index</i>] operation for BitArray.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">dup</span>
<script>explorer.outline.addDecl('dup');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for array.
<span class="currsymbol">dup</span>
<script>explorer.outline.addDecl('dup');</script>

 property for BitArray.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">opApply</span>
<script>explorer.outline.addDecl('opApply');</script>

(int delegate(ref bool) <span class="funcparam">dg</span>);
<br>int 
<span class="currsymbol">opApply</span>
<script>explorer.outline.addDecl('opApply');</script>

(int delegate(ref uint, ref bool) <span class="funcparam">dg</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for foreach loops for BitArray.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">reverse</span>
<script>explorer.outline.addDecl('reverse');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for array.
<span class="currsymbol">reverse</span>
<script>explorer.outline.addDecl('reverse');</script>

 property for BitArray.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">sort</span>
<script>explorer.outline.addDecl('sort');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for array.
<span class="currsymbol">sort</span>
<script>explorer.outline.addDecl('sort');</script>

 property for BitArray.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">bool 
<span class="currsymbol">opEquals</span>
<script>explorer.outline.addDecl('opEquals');</script>

(BitArray <span class="funcparam">a2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for operators == and != for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">int 
<span class="currsymbol">opCmp</span>
<script>explorer.outline.addDecl('opCmp');</script>

(BitArray <span class="funcparam">a2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Implement comparison operators.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">init</span>
<script>explorer.outline.addDecl('init');</script>

(bool[] <span class="funcparam">ba</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Set BitArray to contents of <span class="funcparam">ba</span>[]
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void 
<span class="currsymbol">init</span>
<script>explorer.outline.addDecl('init');</script>

(void[] <span class="funcparam">v</span>, size_t <span class="funcparam">numbits</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Map BitArray onto <span class="funcparam">v</span>[], with <span class="funcparam">numbits</span> being the number of bits
 in the array. Does not copy the data.
<br><br>
This is the inverse of opCast.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">void[] 
<span class="currsymbol">opCast</span>
<script>explorer.outline.addDecl('opCast');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Convert to void[].
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opCom</span>
<script>explorer.outline.addDecl('opCom');</script>

();
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for unary operator ~ for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opAnd</span>
<script>explorer.outline.addDecl('opAnd');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for binary operator &amp; for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opOr</span>
<script>explorer.outline.addDecl('opOr');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for binary operator | for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opXor</span>
<script>explorer.outline.addDecl('opXor');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for binary operator ^ for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opSub</span>
<script>explorer.outline.addDecl('opSub');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for binary operator - for bit arrays.
<br><br>
<i>a - b</i> for BitArrays means the same thing as <i>a &amp; ~b</i>.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opAndAssign</span>
<script>explorer.outline.addDecl('opAndAssign');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for operator &amp;= bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opOrAssign</span>
<script>explorer.outline.addDecl('opOrAssign');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for operator |= for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opXorAssign</span>
<script>explorer.outline.addDecl('opXorAssign');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for operator ^= for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opSubAssign</span>
<script>explorer.outline.addDecl('opSubAssign');</script>

(BitArray <span class="funcparam">e2</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for operator -= for bit arrays.
<br><br>
<i>a -= b</i> for BitArrays means the same thing as <i>a &amp;= ~b</i>.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opCatAssign</span>
<script>explorer.outline.addDecl('opCatAssign');</script>

(bool <span class="funcparam">b</span>);
<br>BitArray 
<span class="currsymbol">opCatAssign</span>
<script>explorer.outline.addDecl('opCatAssign');</script>

(BitArray <span class="funcparam">b</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for operator ~= for bit arrays.
     
<br><br>

</dd>

<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl">BitArray 
<span class="currsymbol">opCat</span>
<script>explorer.outline.addDecl('opCat');</script>

(bool <span class="funcparam">b</span>);
<br>BitArray 
<span class="currsymbol">opCat_r</span>
<script>explorer.outline.addDecl('opCat_r');</script>

(bool <span class="funcparam">b</span>);
<br>BitArray 
<span class="currsymbol">opCat</span>
<script>explorer.outline.addDecl('opCat');</script>

(BitArray <span class="funcparam">b</span>);
</span></dt>
<script>explorer.outline.writeEnabled = false;</script>


<dd>Support for binary operator ~ for bit arrays.
     
<br><br>

</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</dd>
</dl>
<script>explorer.outline.decSymbolLevel();</script>


</td></tr>
		<tr><td id="docfooter">
			Page was generated with
			<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px">
			on Sat Nov 29 22:33:12 2008

		</td></tr>
	</table>
</div>
<script>
	explorer.packageExplorer.addModule("platform.PAL");
	explorer.packageExplorer.addModule("platform.windows.Core");
	explorer.packageExplorer.addModule("platform.linux.Core");
	explorer.packageExplorer.addModule("system.Array");
	explorer.packageExplorer.addModule("system.BitArray");
	explorer.packageExplorer.addModule("system.Environment");
	explorer.packageExplorer.addModule("system.Event");
	explorer.packageExplorer.addModule("system.Exception");
	explorer.packageExplorer.addModule("system.Hash");
	explorer.packageExplorer.addModule("system.IntPtr");
	explorer.packageExplorer.addModule("system.Random");
	explorer.packageExplorer.addModule("system.Traits");
	explorer.packageExplorer.addModule("system.TypeTuple");
	explorer.packageExplorer.addModule("system.math.IEEE");
	explorer.packageExplorer.addModule("system.math.Math");
	explorer.packageExplorer.addModule("system.runtime.c.complex");
	explorer.packageExplorer.addModule("system.runtime.c.config");
	explorer.packageExplorer.addModule("system.runtime.c.ctype");
	explorer.packageExplorer.addModule("system.runtime.c.errno");
	explorer.packageExplorer.addModule("system.runtime.c.fenv");
	explorer.packageExplorer.addModule("system.runtime.c.inttypes");
	explorer.packageExplorer.addModule("system.runtime.c.limits");
	explorer.packageExplorer.addModule("system.runtime.c.locale");
	explorer.packageExplorer.addModule("system.runtime.c.math");
	explorer.packageExplorer.addModule("system.runtime.c.signal");
	explorer.packageExplorer.addModule("system.runtime.c.stdarg");
	explorer.packageExplorer.addModule("system.runtime.c.stddef");
	explorer.packageExplorer.addModule("system.runtime.c.stdint");
	explorer.packageExplorer.addModule("system.runtime.c.stdio");
	explorer.packageExplorer.addModule("system.runtime.c.stdlib");
	explorer.packageExplorer.addModule("system.runtime.c.string");
	explorer.packageExplorer.addModule("system.runtime.c.time");
	explorer.packageExplorer.addModule("system.runtime.c.wctype");
	explorer.packageExplorer.addModule("system.text.UTF");
	explorer.packageExplorer.addModule("system.threading.Atomic");
	explorer.packageExplorer.addModule("system.threading.ThreadUtility");
	explorer.packageExplorer.addModule("system.threading.synchronization.SpinWait");
	explorer.packageExplorer.addModule("system.collections.ArrayList");
	explorer.packageExplorer.addModule("system.collections.Comparer");
	explorer.packageExplorer.addModule("system.collections.Deque");
	explorer.packageExplorer.addModule("system.collections.EqualityComparer");
	explorer.packageExplorer.addModule("system.collections.Exception");
	explorer.packageExplorer.addModule("system.collections.HashMap");
	explorer.packageExplorer.addModule("system.collections.HashSet");
	explorer.packageExplorer.addModule("system.collections.ICollection");
	explorer.packageExplorer.addModule("system.collections.IComparer");
	explorer.packageExplorer.addModule("system.collections.IDeque");
	explorer.packageExplorer.addModule("system.collections.IEnumerable");
	explorer.packageExplorer.addModule("system.collections.IEnumerator");
	explorer.packageExplorer.addModule("system.collections.IEqualityComparer");
	explorer.packageExplorer.addModule("system.collections.IList");
	explorer.packageExplorer.addModule("system.collections.IMap");
	explorer.packageExplorer.addModule("system.collections.IQueue");
	explorer.packageExplorer.addModule("system.collections.LinkedList");
	explorer.packageExplorer.addModule("system.collections.Pair");
	explorer.packageExplorer.addModule("system.collections.PrimeHelper");
	explorer.packageExplorer.addModule("system.collections.PriorityQueue");
	explorer.packageExplorer.addModule("system.collections.Queue");
	explorer.packageExplorer.addModule("system.collections.RBTree");
	explorer.packageExplorer.addModule("system.collections.Stack");
	explorer.packageExplorer.addModule("system.collections.TreeMap");
	explorer.packageExplorer.addModule("system.collections.TreeSet");
	explorer.packageExplorer.addModule("system.collections.objectmodel.ListCollection");
	explorer.packageExplorer.addModule("system.collections.objectmodel.ReadOnlyListCollection");</script>
</body></html>


